package com.month.train.business.enums;

public enum RedisKeyPreEnum {
    CONFIRM_ORDER("LOCK_CONFIRM_ORDER_","购票锁"),
    SK_TOKEN("LOCK_SK_TOKEN_","令牌锁"),
    SK_TOKEN_COUNT("SK_TOKEN_COUNT_","令牌数量"),
    ;
    private final String code;
    private final String desc;
    RedisKeyPreEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
